<?php
 require_once("DButil.php");
 //权限 用于填入表格
 $sql="select powerId,powername,powerpath from t_power";
 $role=query($sql);

 header("Content-Type:application/json;charset=utf-8");
 echo json_encode($role);
?>